package com.Cychat.post.entity.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Auther: 崔航
 * @Date: 2025/11/4:17:23
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RemindingDTO {
    private Integer messageId;
    private Integer postId;
    private String nickName;
    private String avatarUrl;
    private String content;
    private Integer isRead;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;
}
